// pages/home/components/aboutMe/aboutMe.js
const app = getApp();
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    incomeNum: {
      type: [String, Number],
      value: 0,
    },
    friendNum: {
      type: [String, Number],
      value: 0,
    },
    commentNum: {
      type: [String, Number],
      value: 0,
    },
    reserveCount: {
      type: [String, Number],
      value: 0,
    },
  },
  methods: {
    toFriend() {
      wx.navigateTo({
        url: '/pages/home/friends/friends',
      });
    },
    toIncome() {
      wx.navigateTo({
        url: '/pages/income/income',
      });
    },
    seeMyComment() {
      wx.navigateTo({
        url: '/pages/comment/mycomment/mycomment',
      });
    },
    onClickMyReserve() {
      wx.navigateTo({
        url: '/subpkg/pages/consult-reserve/consult-reserve',
      });
    },
  },
});
